package com.poly.system.pojo.vo;

import com.poly.common.core.annotation.Excel;
import com.poly.common.core.web.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 应用菜单对象 sys_app_menu
 *
 * @author poly
 * @date 2024-01-02
 */
@ApiModel(value = "SysAppMenuVO", description = "应用菜单")
@Data
public class SysAppMenuVO extends BaseVO
{
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */

    @Excel(name = "${column.columnComment}")
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /**
     * 上级编号
     */

    @Excel(name = "上级编号")
    @ApiModelProperty("上级编号")
    private Long parentId;

    /**
     * 名称
     */

    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String name;

    /**
     * 图标
     */

    @Excel(name = "图标")
    @ApiModelProperty("图标")
    private String icon;

    /**
     * 组件路由
     */

    @Excel(name = "组件路由")
    @ApiModelProperty("组件路由")
    private String component;

    /**
     * 参数
     */

    @Excel(name = "参数")
    @ApiModelProperty("参数")
    private String params;


    /**
     * 序号
     */

    @Excel(name = "序号")
    @ApiModelProperty("序号")
    private Long sort;

    /**
     * 授权类型（0公开，1角色授权
     */

    @Excel(name = "授权类型（0公开，1角色授权")
    @ApiModelProperty("授权类型（0公开，1角色授权")
    private Integer authType;

    /**
     * 包名
     */

    @Excel(name = "包名")
    @ApiModelProperty("包名")
    private String packageName;

    /**
     * 状态
     */

    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private Integer status;


    /**
     * 创建人名称
     */
    private String createByDesc;

    /**
     * 更新人名称
     */
    private String updateByDesc;



    /**
     * 子菜单
     */
    private List<SysAppMenuVO> children;
}
